@font-face {
  font-family: Alibaba PuHuiTiR;
  src: url(../ttf/ALIBABA-PUHUITI-REGULAR.OTF);
}

@font-face {
  font-family: AlimamaShuHeiTi-Bold;
  src: url(../ttf/Alimama_ShuHeiTi_Bold.ttf);
}

.scroll1 {
  &::-webkit-scrollbar {
    /*滚动条整体*/
    width: 3px;
    height: 3px;
    cursor: pointer;

  }

  &::-webkit-scrollbar-track {
    /*滚动条轨道*/


    background: #E8F1FD;
  }

  &::-webkit-scrollbar-thumb {
    /*滚动条里面的滑块*/
    width: 1px;
    cursor: pointer;
    background: #BFCEE1;
  }

  &::-webkit-scrollbar-thumb:hover {
    /*滚动条鼠标事件，鼠标放上去出现的事件*/
  }

  &::-webkit-scrollbar-corner {
    /*滚动条边角*/
  }
}

.scroll {
  &::-webkit-scrollbar {
    /*滚动条整体*/
    width: 10px;
    height: 10px;
    cursor: pointer;

  }

  &::-webkit-scrollbar-track {
    /*滚动条轨道*/


    background: #E8F1FD;
  }

  &::-webkit-scrollbar-thumb {
    /*滚动条里面的滑块*/
    width: 4px;
    cursor: pointer;
    background: #BFCEE1;
    border: 3px solid #E8F1FD;
  }

  &::-webkit-scrollbar-thumb:hover {
    /*滚动条鼠标事件，鼠标放上去出现的事件*/
  }

  &::-webkit-scrollbar-corner {
    /*滚动条边角*/
  }
}

* {
  font-size: 16px;
  padding: 0;
  margin: 0;
  //   font-family: Alibaba PuHuiTiR;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
}

body {
  width: 100%;
  min-width: 1200px;
  min-height: 100vh;
  position: relative;
  background: #eef1fa;
  overflow: hidden;
}

#index {
  width: 1920px;
  height: 1080px;
  position: absolute;
  transform-origin: top left;
  transition: all 0.3s ease-in-out;
  background: url(../img/background.png) no-repeat center;
  background-size: 100% 100%;
}

.header {
  width: 100%;
  height: 89px;
  padding: 0 15px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url(../img/header.png) no-repeat center;
  background-size: 100% 100%;

  .header-left {
    display: flex;
    align-items: center;

    img {
      width: 55px;
      height: 50px;
      margin-right: 15px;
    }

    span {
      font-family: AlimamaShuHeiTi-Bold;
      font-size: 42px;
      color: #005fd4;
      font-style: italic;
      letter-spacing: 0.2em;
    }
  }

  .header-tab {
    display: flex;
    align-items: center;
    margin-bottom: 20px;

    >div {
      width: 151px;
      height: 37px;
      background: url(../img/tab.png) no-repeat center;
      background-size: 100% 100%;
      color: #005fd4;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 18px;
      cursor: pointer;

      &.active {
        background: url(../img/tab-act.png) no-repeat center;
        background-size: 100% 100%;
        color: #fff;
      }
    }
  }

  .header-right {
    display: flex;
    align-items: center;
    margin-bottom: 20px;

    span {
      font-family: Microsoft YaHei;
      font-weight: bold;
      font-size: 14px;
      color: #333333;
    }

    .header-user {
      display: flex;
      align-items: center;
      cursor: pointer;
    }

    .line {
      margin: 0 15px 0 20px;
      width: 1px;
      height: 34px;
      background: rgba(0, 95, 212, 0.2);
    }

    .header-btn {
      cursor: pointer;
    }
  }
}

.line-tooltips {
  width: 200px;

  .line-tooltips-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
  }

  .right {
    color: #1A1A1A;
  }

  .left {
    color: #666666;
  }

  .tooltips-data {
    width: 100%;
    height: 60px;
    background: #F5F7FA;
    border-radius: 5px;
    padding: 10px 14px;

    >div {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }
}

.index-topList {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 50px; //纵向间隔
  grid-column-gap: 0px; //横向间隔

  >div {
    height: 48px;
    display: flex;
    align-items: center;

    img {
      width: 48px;
      height: 48px;
      margin-right: 13px;
    }

    .name {
      font-size: 14px;
      color: #333333;
    }

    .text {
      font-weight: bold;
      font-size: 24px;
    }
  }
}

.main-title {
  width: 100%;
  height: 42px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .background {
    width: calc((100% - 100px) / 3);
    height: 100%;
    background: url(../img/main-title.png) no-repeat;
    background-position: center center;
    background-size: 460px 42px;
    overflow-x: hidden;
  }

  .background-left {
    width: 50px;
    height: 100%;
    background: url(../img/main-title.png) no-repeat;
    background-position: 0 center;
    background-size: 460px 42px;
  }

  .background-right {
    width: 50px;
    height: 100%;
    background: url(../img/main-title.png) no-repeat;
    background-position: right center;
    background-size: 460px 42px;
  }

  .unit {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #7190B6;
  }

  .text {
    position: absolute;
    left: 47px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 20px;
    color: #333333;

    .el-input__inner {
      border: 0;
      padding: 0;
      font-weight: bold;
      font-size: 20px;
      color: #333333;

      &::placeholder {
        color: #333333;

      }
    }

    .el-select .el-input .el-select__caret {
      color: #333333;
    }
  }


}

.view-500 {
  width: 500px;
}

.view-450 {
  width: 450px;
}

.view-800 {
  width: 800px;
}

.page-content {
  width: 100%;
  padding: 28px 30px 30px;
  height: calc(100% - 89px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.el-popover {
  padding: 0;

  .top-popover-div {
    >div {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      width: 100%;
      border-bottom: 1px dashed #DDE2E7;

      >div {
        flex-shrink: 0;
        width: 25%;
        height: 38px;
        font-size: 14px;
        color: #999999;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;

        &.active {
          color: #005FD4;
        }
      }
    }
  }
}

.time-sel {
  position: absolute;
  right: 50px;
  height: 34px;
  top: -15px;
  z-index: 22;
  display: flex;
  align-items: center;

  .top-sel {
    margin-left: 5px;
    width: 500px;
    height: 36px;
    background: #FFFFFF;
    border: 1px solid #D7DBEE;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .sel-div {
      height: 100%;
      width: calc(100% - 70px);
      cursor: pointer;
      display: flex;
      align-items: center;
      @extend .scroll1;
      overflow-y: auto;

      span {
        color: #999999;
        font-size: 14px;
        padding-left: 10px;
      }

      >div {
        padding: 0 5px 0 8px;
        height: 100%;
        font-size: 14px;
        color: #333333;
        background: #F7F9FC;
        border: 1px solid #D7DBEE;
        margin-right: 5px;
        display: flex;
        align-items: center;
        flex-shrink: 0;

        img {
          margin-left: 8px;
          width: 10px;
          height: 10px;
        }
      }
    }
  }

  .search-btn {
    width: 66px;
    height: 30px;
    display: flex;
    font-size: 14px;
    color: #F6F8FF;
    cursor: pointer;
    align-items: center;
    justify-content: center;

    background: #005FD4;
  }

  // 改动地点 140改为180
  .el-date-editor.el-input {
    width: 110px;
  }

  .el-select__tags {
    @extend .scroll;
    overflow-x: auto;
  }

  .el-input__inner {
    height: 36px;
    line-height: 36px;
    padding-left: 5px;
  }

  .el-input__icon {
    height: 36px;
    line-height: 36px;
  }

  .el-input__prefix {
    display: none;
  }
}

.page-left,
.page-center,
.page-right {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;

  .left-view1 {
    width: 100%;
    height: 430px;
    background: #fff;
  }

  .left-view2 {
    width: 100%;
    height: calc(100% - 460px);
    background: #fff;
  }

  .center-view1 {
    width: 100%;
    height: 100%;
    background: #fff;
  }

  .right-view1 {
    width: 100%;
    height: 430px;
    background: #fff;
  }

  .right-view2 {
    width: 100%;
    height: calc(100% - 460px);
    background: #fff;
  }
}

.tooltips {
  width: 150px;

  // padding: 15px;
  >div {

    display: flex;
    justify-content: space-between;
    align-items: center;

    .left {
      font-size: 14px;
      color: #666666;
    }

    .right {
      font-size: 14px;
      color: #1A1A1A;
    }
  }
}

.view-content {
  width: 100%;
  height: calc(100% - 42px);

  .view-number {
    font-size: 16px;
    color: #475566;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
  }

  .view-charts {
    width: 100%;
    height: 100%;
  }

  &.right-table {
    padding: 15px 20px;

    .pagination {
      display: flex;
      height: 50px;
      justify-content: flex-end;
      align-items: center;

      .el-pagination.is-background .el-pager li {
        font-weight: normal;
      }
    }

    .table {
      width: 100%;
      height: 100%;

      &.center-table {
        height: calc(100% - 50px);

      }

      .text-left {
        justify-content: flex-start !important;
      }

      .table-th {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 40px;
        background: #83A3CA;
        padding-right: 10px;

        >div {
          font-size: 14px;
          color: #FFFFFF;
          display: flex;
          align-items: center;
          justify-content: flex-end;
        }
      }

      .seamless-warp {
        width: 100%;
        height: 800px;
        overflow: hidden;
      }

      .table-tr {

        height: calc(100% - 40px);
        @extend .scroll;
        overflow: auto;

        >div {
          height: 40px;
          font-size: 14px;
          color: #333333;
          display: flex;
          align-items: center;
          justify-content: space-between;

          &:hover {
            background: #D9DFEF !important;
          }

          &:nth-child(odd) {
            background: #F7F9FC;
          }

          &:nth-child(even) {
            background: #EEF1FA;
          }

          >div {
            display: flex;
            align-items: center;
            justify-content: flex-end;

          }
        }
      }

      .blue {
        color: #83A3CA;
      }

      .w-20 {
        width: 20%;

      }

      .w-30 {
        width: 30%;
      }
    }
  }
}

.index-view2 {
  margin-top: 20px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 500px;
  justify-content: space-between;
}

.index-view3 {
  margin-top: 20px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 430px;
  justify-content: space-between;
}

.index-view2,
.index-view3 {
  >div {
    height: 100%;
    background: #ffffff;


  }
}

.search-name-box {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  padding: 10px;
  padding-left: 20px;

  span {
    margin-right: 10px;
    font-size: 14px;
  }
}